class Student:

    def SetName(self, name):
        self.name = name

    def SetAge(self,age):
        self.age = age
    def Setscores(self,score1,score2,score3):
        self.score1 = score1
        self.score2 = score2
        self.score3 = score3
    def Max(self):
        if(self.score1>=self.score2):
            if(self.score1>=self.score3):
                return self.score1
            else:
                return self.score3
        else:
            if(self.score2>=self.score3):
                return self.score2
            else:
                return self.score3



if __name__ =="__main__":
    stu1 = Student()
    stu1.SetName("小丸子")
    stu1.SetAge(18)
    stu1.Setscores(89,90,91)
    print("姓名：{}".format(stu1.name))
    print("年龄：{}".format(stu1.age))
    print("最高分：{}".format(stu1.Max()))
